arr = input().split()

for i in range(len(arr)):
  arr[i] = int(arr[i])
arr.sort()

for i in range(len(arr)):
  arr[i] = chr(arr[i])

print('<'.join(arr))